<?php namespace App\Http\Requests;

class CatalogRequest extends Request {

	public function authorize()
	{
		return true;
	}

	public function rules()
	{
		return [
            'name' => 'required',
		];
	}


    public function messages()
    {
        return [
            'name.required' => '请填写名称',
        ];
    }

}
